#ifndef PARENTWIDGET_H
#define PARENTWIDGET_H

#include <QWidget>

namespace Ui {
class ParentWidget;
}

class ParentWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ParentWidget(QWidget *parent = 0);
    ~ParentWidget();

public:
    Ui::ParentWidget *ui;
    QWidget *childWidget;
    QWindow *childWindow;
    HWND AppWnd1;
public slots:
    void integrate();

public:
    //void resizeEvent(QResizeEvent * event);
private slots:
    void on_pushButton_clicked();

    void mousePressEvent(QMouseEvent * event);
    void keyPressEvent(QKeyEvent *event) ;
    void on_pushButton_released();
};

#endif // PARENTWIDGET_H
